import React from 'react';
import {Header} from "antd/es/layout/layout";
import {Typography} from "antd";


interface StyleProps {
  styles: React.CSSProperties
}

const MyHeader = (props: StyleProps) => {
  return (
    <Header style={props.styles}>
      <Typography.Title keyboard level={2} style={{margin: 10}}>
        言画家
      </Typography.Title>
      <Typography.Title mark level={3} style={{margin: 10}}>
        我们提供语言到图像的智能转换
      </Typography.Title>
    </Header>
  );
};

MyHeader.propTypes = {};

export default MyHeader;